﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Templay
{
    public class RootElement : ParseElement
    {

        public string Assembly
        {
            get
            {
                return this["Assembly"];
            }
        }

        public string Namespace
        {
            get
            {
                return this["Namespace"];
            }
        }

        public override ParseElementType Type
        {
            get
            {
                return ParseElementType.ROOT;
            }
        }

        public RootElement(string name, string assembly, string namespaces) : base(name) 
        {
            Attributes.Add("Assembly", new ParseAttribute() { Name = "Assembly", Value = assembly });
            Attributes.Add("Namespace", new ParseAttribute() { Name = "Namespace", Value = namespaces });
        }

    }
}
